<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta
			name="viewport"
			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
		/>
		<meta name="description" content="vite,vite2,vue3,vue,vant3,vant,typescript" />
		<link rel="icon" href="/favicon.ico" />
		<title>Simple Vite</title>
		<link id="iconClassUrl" typoe="text/css" rel="stylesheet" />
		<!-- 加载config配置文件，测试type=module + import默认defer,会晚于app挂载文件注入 -->
		<script>
			document.write(
				"<script type='text/javascript' src='/config.js?v=" + Date.now() + "'><\/script>",
			);
		</script>
	</head>
	<body>
		<div id="app"></div>
		<script>
			const { iconClassUrl, iconSymbolUrl } = window.$config;
			iconClassUrl && (document.getElementById('iconClassUrl').href = iconClassUrl);
			iconSymbolUrl &&
				document.write("<script type='text/javascript' src='" + iconSymbolUrl + "'><\/script>");
		</script>
		<script type="module" src="/src/main.ts"></script>
	</body>
</html>
